package org.miyuki4j.cfgtool.type;

import org.miyuki4j.cfgtool.*;

import java.util.HashSet;
import java.util.Set;

/**
 * @Desc
 * @Author miyuki4j
 * @Date 2025/7/24/星期四 14:33
 * @Version 1.0
 */
public class HashSetType extends Type.CollectionType<Set<?>> {

    @Override
    public String name() {
        return "set";
    }

    @Override
    public String javaInterface() {
        return "java.util.Set";
    }

    @Override
    public String javaImplementation() {
        return "java.util.HashSet";
    }

    @Override
    protected Set<?> newCollection() {
        return new HashSet<>();
    }
}
